package com.amir.common.beans

data class TencentMapSearchEntity(
    val data: List<TencentMapSearchData>
) : BaseResult()

data class TencentMapSearchData(
    val id: String,//POI唯一标识
    val title: String,//提示文字
    val address: String,//地址
    val province: String,//省
    val city: String,//市
    val adcode: String,//行政区划代码
    val type: Int,//POI类型，值说明：0:普通POI / 1:公交车站 / 2:地铁站 / 3:公交线路 / 4:行政区划
    val location: LocationData,
    val district: String,
)


data class LocationData(
    val lat: Double,
    val lng: Double,
)

data class GeoCoderEntity(
    val result: GeoCoderData?
) : BaseResult()

data class GeoCoderData(
    val title: String?,
    val address: String?,
    val location: LocationData,
)

open class MapNavigationData {
    var title: String? = null
    var address: String? = null
    var location: LocationData? = null
}